package com.wanggsx.library.constant;

import com.wanggsx.library.base.app.init.AppConstant;

public class ConstantSP {
    public static final String SPName = AppConstant.folderName.replace("/","");
    //登录
    final static public String USER_ID = "user_id";
    final static public String USER_TOTEN = "user_token";
    final static public String RONGCLOUD_TOKEN = "rongcloud_token";
    final static public String USER_NAME = "user_name";
    final static public String USER_NICKNAME = "user_nickname";
    final static public String USER_LOGO = "user_logo";
    final static public String USER_LEVEL = "user_level";
    final static public String USER_KEY_WORDS= "USER_KEY_WORDS";
    //搜索
    final static public String SEARCH_HISTORY = "SEARCH_HISTORY";
    final static public String SEARCH_TEXT= "SEARCH_TEXT";
    //经纬度
    public static final String USER_LON = "USER_LON";
    public static final String USER_LAT = "USER_LAT";
    //是否第一次打开app
    public static String KEY_IS_FIRST = "key_is_first";
    //用户缓存
    public static String KEY_USER_CACHE = "key_user_cache";
    //启动页
    final static public String IMAGE_QIDONGYE = "IMAGE_QIDONGYE";
    final static public String LINK_QIDONGYE = "LINK_QIDONGYE";
    //微信相关
    final static public String  access_token = "access_token";
    final static public String  refresh_token = "refresh_token";
    final static public String  openid = "openid";
    final static public String  unionid = "unionid";
    final static public String  nickname = "nickname";//普通用户昵称
    final static public String  sex = "sex";//普通用户性别，1为男性，2为女性
    final static public String  province = "province";//	普通用户个人资料填写的省份
    final static public String  city = "city";//普通用户个人资料填写的城市
    final static public String  country = "country";//	国家，如中国为CN
    final static public String  headimgurl = "headimgurl";//	用户头像，最后一个数值代表正方形头像大小（有0、46、64、96、132数值可选，0代表640*640正方形头像），用户没有头像时该项为空
    final static public String  privilege = "privilege";//	用户特权信息，json数组，如微信沃卡用户为（chinaunicom）
    final static public String IS_SIGN_IN = "is_sign_in";

}
